dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
(Bug 37957) Replace php_sapi_name() with PHP_SAPI
[lhc/web/wiklou.git]
/
includes
/
normal
/
Utf8Test.php
diff --git
a/includes/normal/Utf8Test.php
b/includes/normal/Utf8Test.php
index
6eae6e7
..
904a27f
100644
(file)
--- a/
includes/normal/Utf8Test.php
+++ b/
includes/normal/Utf8Test.php
@@
-34,7
+34,7
@@
mb_internal_encoding( "utf-8" );
$verbose = false;
#$verbose = true;
-if(
php_sapi_name()
!= 'cli' ) {
+if(
PHP_SAPI
!= 'cli' ) {
die( "Run me from the command line please.\n" );
}